﻿@addTagHelper *, WebVella.Erp.Plugins.Core
@addTagHelper *, WebVella.Erp.Web
@addTagHelper *, WebVella.TagHelpers
@using WebVella.Erp.Web.Utils;
@using WebVella.Erp.Web.Components;
@using WebVella.Erp.Api.Models;
@using WebVella.Erp.Web;
@{
	var options = (PcDrawer.PcDrawerOptions)ViewBag.Options;
	var erpRequest = (ErpRequestContext)ViewBag.RequestContext;
}

<wv-row>
	<wv-column span="4">
		<wv-field-datasource name="is_visible" label-text="Is Rendered" value="@options.IsVisible" page-id="erpRequest.Page.Id" placeholder="true"></wv-field-datasource>
	</wv-column>
	<wv-column span="4">
		<wv-field-datasource name="title" label-text="Title" value="@options.Title" page-id="erpRequest.Page.Id"></wv-field-datasource>
	</wv-column>
	<wv-column span="4">
		<wv-field-text name="width" label-text="Width" value="@options.Width"></wv-field-text>
	</wv-column>
</wv-row>

<wv-row>
	<wv-column span="4">
		<wv-field-text name="class" label-text="Class" value="@options.Class"></wv-field-text>
	</wv-column>
	<wv-column span="4">
		<wv-field-text name="body_class" label-text="Body Class" value="@options.BodyClass"></wv-field-text>
	</wv-column>
	<wv-column span="8">
		<wv-field-text name="title_action_html" label-text="Title Action Html" value="@options.TitleActionHtml"></wv-field-text>
	</wv-column>
</wv-row>
